<template>
	<view class="charts-box">
		<qiun-data-charts type="pie" :chartData="pieData" />
	</view>
</template>

<script>
	

	export default {
		data() {
			return {
				pieData: {
					"series": [{
							"name": "获赞",
							"data": 50
						},
						{
							"name": "评论",
							"data": 30
						},
						{
							"name": "关注",
							"data": 20
						},
						{
							"name": "转载",
							"data": 18
						},
						{
							"name": "收藏",
							"data": 32
						}
					],
				}
			}
		},
	}
</script>

<style scoped>
	.charts-box {
		width: 100%;
		height: 500rpx;
	}
</style>
